fixing a few oversights in pcat_interface.py and pcat_template.f