added code to compute box-counting dimension of a fractal set, and code to do a fit