make degree to radian conversion factor a global variable