<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def intersects_location(self, ray_origins, ray_directions, multiple_hits=True):
 """ Return the location of where a ray hits a surface. Parameters ray_origins: (n,3) float, origins of rays ray_directions: (n,3) float, direction (vector) of rays Returns --------- locations: (n) sequence of (m,3) intersection points index_ray: (n,) int, list of ray index index_tri: (n,) int, list of triangle (face) indexes """

        (index_tri,
         index_ray,
         locations) = self.intersects_id(
             ray_origins=ray_origins,
             ray_directions=ray_directions,
             multiple_hits=multiple_hits,
             return_locations=True)

        return locations, index_ray, index_tri