Ann Thomson, Compound interest