Update

Bug fixes. Also added vector and scalar linear interpolation.