Peak finding

Work on finding peaks in 1D curves to support automatic calibration.
needs to be renamed re: pixel_to_1D_func name change