Wrote calc_interest