cubic interpolation experiment. just wanted to know how it works