fitting planes to point cloud data