Computer methods for sampling from the exponential and normal distributions | Synapse