Fixed the power in AutoDiff