First attempt at cross validation.