Replaces direct calculations of radians to degrees with a macro. This change centralizes the conversion factor, enhancing code readability and maintainability. It also removes a duplicate definition of the same macro.