y=lab.pow(x,n) returns the elements of x to the power of n.