I just calculated it manually, I'll probably write some code for it sometime