Bug fix

fix a bug in loo cross validation