Fix power operator on numpy arrays

Should fix #303 
be careful, ** 2 is changed to pow2 which is not a real call to pow.