Add payment calculator, closes #9