Defines mesh function

- Mesh function now implemented. This is identical to the Face function
but with a mesh datatype.