Add function to extract the 'spine' of a neuron

Implements #83.