First commit of a wandering trapezoid. The wandering code is very ugly at this point.