added vector interpolation (c++ interface)