Added a height error function

Included base brightness and contrast parameters in 3D Reconstruction