added pow operations for arrays