Updated plotting of traces
Added function for ordering templates spatially
Improved split criterion

Now using truncated Gaussian vs. mixture of two Gaussians