Added function for polygon to 2d pixel array