Increased the speed of the updateConeectedSynapses function by converting to an standard list to call append on. This has greatly increased the speed of execution.