coded up matrix and sharpen filters