Improvements to generate_spectrum.py

Added improvements whilst attempting to run on Feynman such as
checking the format of edited template lines and other error
checking. Also added Bi212po212 naming exception to production.py