create_material function

Create a new material