Moved deg/rad ratios to Global.js file
Added error handling and reporting so that incorrect formulas in the mathBox don't crash the app