Calculating Daily Compound Interest