Corrected bug in normal_distribution_portable

Returned standard normal, ignoring specified mean and stddev