Fixing minor issue in powermap

Minor PR which fixes a small issue in the PowerMap computation.