Python mathematical function to an array : I am working on a project involving a data file that will contain an XYZ coordinates for several atoms. I need to have the molecule oriented such that the two sulfur atoms are resting on the x axis. I know the math behind what I need to do, I am just unsure how to apply this to an array in python. It has been years since i have done any programming and any pointers would be greatly appreciated.