Implemented alltitude diffrence measure. Counts correctly, not sure if it works.