add nested-cv functions
Merge pull request #2 from sealhuang/master

add nested-cv functions