Added gaussian density function