Learning material Vectors