cobbDouglasModel now accepts a data.frame as an argument.