Updated to handle multi-pentad testing to increase the training set size.