Errors fixed in Material.cpp