Simple Box-Muller transform based random number generator.
Output checked in Excel.