Calculates arctangent2 in degrees
double atan2d(double y, double x) { return toDegrees(math.atan2(y, x)); }