Update cost_function.md