I want compoundInterest to return the correct compound interest.