Began rewriting functions to use normal dist on sd