Add an interpolate function to the vector helpers