Move back Trigonometry functions

Accepts radian by default as PHP
Remove unnecessary trailing commas.