Updating the conceptpower.py file

Updated code for part of the issue #2