Method of moments almost implemented into 2- and 3-D box counter.

Having trouble with one side of the plot, though: it should go to
zero on both sides but stops short for very negative values of q.