math.extras: adding sum-squares and sum-cubes.