fixing powerSpec1.py - mask