Fixed FitPulseModel bug

Fixed bug that allowed code to run when only 1 pulse provided. This
crashed the modeling code. Now runs when at least 2 pulses provided.