Implemented missing rotation functions (rotate_point, rotate_ray)