Added sort parameters to nomenclature in Materials chapter.
Cleaned up the typeset.bash script.