Added setPixel(s) function.