MINOR:  Replaced tabs with spaces.
Added some docstring content to add_material().
Issue a warning if the created material already exists in the library.
MINOR:  Replace tabs with spaces.