add parameters class for fitting data