total cost fix, discounts math and ui, and loan b button

- Fixes to the total cost math
- Implements the discounts radio buttons and associated math
- Adds the (non-functional) loan-b button