Fixed some power math