back to working code from yesterday
Merge branch 'master' of https://github.com/wflohry/PatternOptim