Summation n^k added.