Adjusted constants and fixed distanceToDegrees() formula