Allow to switch between vector interpolation and spline representation (#10)