Fixed zbuffering by calculating perspective transform matrix using front and near planes. Current matrix constrains [near,far] to [0,1].
If perspective is not enabled, but zbuffering is, depths are still transformed in the FillPoly function.
Adjusted zbuff test case for a more complex polygon arrangement.