Switch to optimised, approximate atan2 [fixes #10]