Regression 3D

Iterative regression for different altitudes added.

Some tests added.