Fixed a typo bug in determining map[k0] in kernel::bfgs