Changed to math.h atan2f