Generative models with kernel distance in data space