added 2d tranforms and updated polygon filling with colors