def C3(x): "Cost function constructed by hand" from test_mogi2 import cost_function return cost_function(x)