Added comment explaining conversion to polar from Caretesian
Use atan2