Added function for calculating the effective Gilbert damping by simulating a rotation of the magnetization to 30 degrees from the z-axis and relaxation to the field direction