Added an alternative Python implementation which is faster than loops in Python.
Made some corrections in PowerLaw.