Added approximate Atan2 implementation