Accurate math from @FakeLibStats

Accurate math from @FakeLibStats