How to calculate how much to repay each month if the loan is over a fixed period of time and the repayments are variable.