fix build on kubuntu 13.10

I used CLang as the compiler, but I guess the issue is that the
version of Eigen shipping with 13.10 does not provide a std::pow
function for matrices.