Daily compound interest formula