https://repl.it/@AtlasTK/Gaussian-function-Python