assessModelQuality function

Create randomly initialized models to determine the correct number of components by assessing model quality metrics.