Calculation of savings account balance