what is a material flow diagram definition applications