make parametrized linear interpolation working
split code into two files
cleaning up (deleting commented code)