Implemented a faster atan2 function. 50% faster than Math.atan2.