Remove lmfit dependence.
Define fit_powerlaw in test script.
Isolate cv2 dependence into Video subclass.