Many small changes, but switched to global minimizer for fit_phase_shift.  Major improvement.
Minor changes.
rm directory...