Changed pointsTotal to hash so points can be updated easily.
Update the pointsTotal when resetting also.
Updated calculate function to account for hash.