Revert "Got rid of downsampling"

This reverts commit b9d44243818ebd0693e4ae1f1083c0538a4e5559.
Re-ordered dimensions in waveforms

Now samples x channels x clusters
Utility function for plotting waveforms
Updated initialization and fitting
Cleanup of function interfaces and documentation