make models implement comparable
Merge pull request #69 from pwestling/make_models_comparable

Make models comparable