[RFC] atan performance improvements

The total improvement is about 31% percent. The first commit is actually the most effective one.

The improvement form the lookup table was rather disappointing. Not sure if it is the implementation or if the SSE instruction is just already that fast.