Update PowerMeasure.py