r of coefficients, not the order
    mrange: list
        the range of the data
    coeff: array
        function (modelname) coefficients
    c