Added (not well tested) support for quadraterials