Changed to coordinate calculation used in GMC