added PatternSetModel to Python binding