Changed the behavior of makeModels() for cases when mod/mod0 are less than full rank