started fit testing
removed collective feature because it is trivial. basic test works.
improved docstring
moved fit_powerlaw into fitting.py
return powerlaw params as columns
fixed API
added tests