added more sophisticated 2d example, some more fixes to docs