added rotate methods for Point and Line