Document materials

Added descriptions of most parameters.
Merge remote-tracking branch 'erich666/dev' into dev