moving least square finished, need to debug