planarity: plane now with least-square adjustment

instead of finding randomly 3 points. So better and robuster. It was about time, I know, I know...