Some fixes + principles of code generation.
Merge branch 'master' of github.com:rgeminas/gp--