-- minor modifications and implementations for sensor spline and raycasting