added n_segments function in morphtree
added n_segments function in morphtree

mgeplf/NeuroM,juanchopanza/NeuroM,lidakanari/NeuroM,eleftherioszisis/NeuroM,liesbethvanherpe/NeuroM,BlueBrain/NeuroM,wizmer/NeuroM