x_minimize & f_minimize added