getguassiankernal function