Changed Ensemble to work with an arbitrary number of models.