rename of the gaussian function
em function
main func