BUGFIX: prevents zero stepsizes
now taking residue names from pdb files, not from the stockholm file anymore