improved est_amps with least squares
fixed est_amps in peak_shift
Improved arch detection to deal with odd numbers of peaks via taking care of half gaussians. Not yet tested.