Create cost_function.md