Generalization of the Ensemble Kalman Filter Using Kernels for Nongaussian Random Fields