fixed all bugs in c++ least interpolation