I want compoundInterest to return the correct compound interest. For example, compoundInterest(10000, .08, 4, 5) should return 14859.47.