Calculating Daily Interest Rate Formula