Margsalia Polar Method
This is very similar to use the Box-Muller Transform except it uses cartesian coordinates instead of polar coordinates.
This is faster because we don’t use cos and sin.
A non-thread safe implementation in C++ using the mean and standard deviation:
C++11 GNU GCC libstdc++‘s implementation of std::normal_distribution uses the Marsaglia polar method, as quoted from herein.