added cost_functions.rst, limits.rst