new graylevel model based on kde