Fitting power-law distributions to empirical data, according to the method of Clauset, Shalizi and Newman