several bug fixing of bfgs per-feature regularization