toDegrees fix