Image fixes

Fixed issues with different systems reading the calibration table in
different orders. The data now parses out correctly and produces a
histogram as expected.