Initializing connected synapses
Better error handling