add a shape function class for quad4