function k = kergaus(xg,h) 
% KERGAUSS, evaluates the GAUSsian KERnel (standard normal)
%     at a grid of x's, xg (matrix or vector),
%     for the bandwidth h
%     For use in NonParametric Regression MOVies

%    Copyright (c) J. S. Marron and D. Ruppert, 1997

k = exp(-(xg ./ h).^2 / 2) ;
k = k ./ (h * sqrt(2 * pi)) ;





