Moving to SubStruct Rev 1

Created tools and functions for truncating, smoothing, computing, etc.
Update of cmpplot

Now more powerful
Added useful functions for interacting with data
Removed newly redundant code

Code snippets in smoothdiff and truncate were effectively moved into
subfunctions or new functions that fit better with the project as a
whole.