Calculating Interest Rate Formula