debugging demosaic + filter

Apparently filter has bugs