extraction with Matt

The beginning of the conclusion of template extraction for single
neurons.