adapted function synapse_parameters to changes in RandomDistribution class