Use MPFIT for fitting