Update onePixel.cpp