prepReader.py: Make separate function for setting torsions