https://5dok.net/document/oz19m53q-calculating-spin-transport-properties-principles-spin-currents.html