trying to improve interpolation code
working 2D interpolation and refactoring of interpolation code
added interpolate to docs; unit tests passing
made interpolate types floating and added unit test for 2D interpolation