Alternative fix for Eigen versions lacking pow(Eigen::Array).

This is suggested as a minimal fix (replacing a single line with a different single line) for the problem building on ubuntu with slightly too old Eigen.

Another fix was proposed in #45, this fix should be a little simpler.

Anyway, do not merge until someone can confirm that it solves the problem. Could you check that, @andlaus?