Finalized all scripts -- read for review

Added all functions needed for scripts (sans matlab functions).

Spell checked and checked for consistency

Added figures