Calculate value in interpolation point with help of lagrange or newton methods