added clipped distributions and if branch for weight in synapse_parameters