A simple node interpolate function