Angle fixes

I had been using sin() and cos() in degrees, when they accept radians.
This led to some bizarre results which got covered up in complex code!