mpspline_conv function

Convert data for splining