starting to add demosaic, in progress