Booja: Changed deg2rad definition to a function