Fixed cot and magnitude functions
Merge branch 'dev' of https://github.com/haydentwestbrook/CalculatorApp into dev