It seems that speed factors heavily in the calculation of max power. More so than gradient as look though the history, the peak power spells are not usually where I found the going hardest.
A minor disapointment: I dont mind about the absolute accuracy of the power figure but to be able to compare runs, it would be better to turn down the weighting of speed due to this factor being skewed wildly under some circumstances.