fixxed the loop in locallum.py that gets the difference of the pixel and average of pixels