Removed extraneous source files.
Broke up things which were useful, but only used in testing, from those which were used to perform calibration.