Yet another modelselector function

I went ahead and made yet another file figuring we could just delete the
old ones when we no longer wanted them. This one uses the method we
discussed in class.