added plot functions for normal data and sample function for stochastic synapses