added interpolator interface
added interpolator factory
added quadratic interpolator
added tests