A Euclidean-Type Algorithm for the Weighted Greatest Common Divisor | Synapse