Updated script to print out correlation functions by spin channel correctly.