Best Fit Line/Plane in 3D using Singular Value Decomposition (SVD)
[url]http://mathforum.org/library/drmath/view/69103.html[/url]
[url]http://mathforum.org/library/drmath/view/63765.html[/url]
[url]http://math.stackexchange.com/questions/99299/best-fitting-plane-given-a-set-of-points[/url]
[url]https://en.wikipedia.org/wiki/Singular_value_decomposition[/url]