change synapse detection, add input neurites in output file