Call the spline using the position of the particle inside the cell (normalize to 0-1) -- pass an array of box width to the constructor