Shaun's kernel with Matrix cfg corrections