Fixed flatfield so both halves are normalized to a single value.
Merged Zach's changes to flatfield.py.