Calculating interest and deposits