Added documentation for cost model.