Loan interest calculation