Fixes #23: Math is wrong.
Merge pull request #25 from benastan/bugs/expense/23

Fixes #23: Math is wrong.