gold loaninterest calculation