bilinear finite elements

New pull request from a clean branch.