Some minor bug fixes
Repeated cross validation added