Merge pull request #35 from MJDSys/master

Add a method to retreive the 2i indexes from a model.