Update base.py

set "numpy_result=True" for loss functions since lbfgs cant handle gnumpy scalars