Maybe now my metric will actually work

(also just doing a totally unnecessary divide by 0 guard)