Added a way to directly get the amount of matches
Fixed averaging

Silly mistake <.<