Added support for the E_infinity surface.
Added a rectangle helper function to build a rectangle.