improved the documentation and readability of model fitting functions
renamed model fitting function and added an example