Testing Scipy.optimize.fmin_l_bfgs_b to find weights.