Fix error message in Material::setDensity(..)

- User reported that there was typo in the error message.