Just a small update, I did change to use ```_cos``` and ```_sin``` as Mike suggested, so the only remaining point is the sign.