Added element_pow() for vectors and matrices.

All three backends are supported.