Moved miscellaneous analysis to its own folder
Added envelope function

The envelope function will be used for simple peak to peak measurements
based on the envelope of the signal. This will be used in place of the
peak to peak detection currently being used. Should be more robust.
Breaking out code into functions

Getting markers and getting the data should not be written within the
body of the code given how frequently it is used within different
analyses.