Updated FactoredModel logic to support nmodels=1 and modelSpecs. Haven't tested