created calculator module that calculates the amount for each of the logged-in user's payment relationships.