Implemented computeActiveSynapses and getConnectedActiveSynapsesForSegment