Use Principal Component Analysis(PCA) to estimate the normal vector of point
cloud surface.
To get more details please refer to paper:
Hoppe, H., DeRose, T., Duchamp, T., McDonald, J., & Stuetzle, W. (1992).
Surface reconstruction from unorganized points
(Vol. 26, No. 2, pp. 71-78). ACM.