Change how to calculate power