Storing out mean images for each class in the training listing