Within the shooting function, directly integrate to the matching point (should be faster).