functional raw processing

made a lot of changes.

- created a RawImage class that significantly simplifies code and allows
  corrections to be applied easily to a single image in a run.

- RawRun class is a lot cleaner and manipulates RawImage objects

- sample_interval header in parameters file, specifying how frequently
  cameras take images.

- some tests (need more)
TODO