Implemented Lagrange interpolation method, fixes #80