Added degToRad utility function