corrected kernel-matrix to a png