Automated Segmentation of Synapses in 3D EM Data