calculate points based on associated transactions

Currently the `totalPoints` algorithm looks within a user's profile; this change goes straight to the list of transactions to calculate a user's points.