Refactor calculation of total score

- factor out calculation of nr of points and mults