Added dump pixel and finished rgb2ycc

tested and seems to be working