Fixed some more bugs from pautomorphicform.py
Merge branch 'master' of github.com:roed314/OMS