calibrated readings
started refactoring for part III
working on the histogram.
Added new file for any orientation.