Renamed some identifiers, using magnitude instead measurement.
Added calculation of lineal regression to calculate magnitudes out of the atmosphere.
Renamed.