Further cleaning up of qm/reaction.py