improved the CV code to be less hideous
improved the CV code to be less hideous

crealytics/breeze,ktakagaki/breeze,cilier/breeze,wstcpyt/breeze,mredaelli/breeze,ContentSquare/breeze,eponvert/breeze,chen0031/breeze,tjhunter/scalanlp-core,sheide/breeze,nikdon/breeze,tjhunter/scalanlp-core,scalanlp/breeze,claydonkey/breeze,calippo/breeze,ktakagaki/breeze