[solved]atan2() problem/bug?

I am an idiot.
That was it guys; atan2(Degrees[2],Degrees[1]) should have been atan2(Degrees[1],Degrees[0]), thank you very much for your help.
Sorry for the stubborness.