fix in method accumulate_power()
Merge pull request #1 from Tafkas/master

Fix in method accumulate_power().