From this diagram its easir to understand where the Gaussian Kernel is applied and where the discrete distribution needs to be computed .

http://74.55.201.122/image.JPG

I would appreciate any hints on the Gaussian Kernel formula and discrete distribution formula for this case...

Thank you...