fixed incompatibility with version 0.9.0 of scipy. The interface of
fmin_l_bfgs_b has slightly changed in version 0.12.0. Now our code
should be compatible with both versions.