started work on C++ interpolation class