public static Vector2 pow(Vector2 o,double power){
  return new Vector2(Math.pow(o.x,power),Math.pow(o.z,power));
}

public static Vector2 pow ( Vector2 o , double power ) { return new Vector2 ( Math . pow ( o . x , power ) , Math . pow ( o . z , power ) ) ; }
raises the x and y values of a vector2 to the given power .
