fixed custom gate library bug
Merge branch 'master' of github.com:svanschooten/genesis