Greatest Common Measure of Commensurable Magnitudes