fixed minor bug causing out of bounds array access
added return for operator= on throw class
minor bug fixes
added PatternSettings class