Modified to include the new upper and lower verticies property of the wavefront.