Formatted the code for the models and the controller.  Also, fixed if th...

...ere aren't any classes selected errors introduced with combination generator and arrays