changes to image to initilize zbuffer correctly in fpixel and made flags for zbuffer correctly added for line polyline and polygon