working on interpolation - does not run
fixing index problem in interpolator