Created code for torus-cs plots