Updated stuff for bilinear elements and simplified linear elements.  Still need to do quadratic elements.