A law of the iterated logarithm for geometrically weighted martingale difference sequences