Function isRightAngle

Checks if an angle is a right angle (with floating point tolerance).