Added Least Squares for plane