Tweak to modelSelect to allow indices for train/test, and return meanErrors
Better tests for modelSelect