How to fit a normal approximation to data in Julia

Apologies, should have read your question properly