Methods in neuronal modeling: From synapses to networks