added cis and trans calculations for polymer conformations