Explanation of Spin Simulation