add option to do 2way cross validation in benchmark script