Added parameter file option for model type; supports boxcar and trapezoidal fits [ci skip]