Calculations depending on a previous field/loan amount