mostly updated documentation and defined a default for substance in
helper functions
updated docstrings. Also updated Spill sections in references.rst and
structure.rst.
forgot to return ElementType created by helper
fixed formatting