turn `grid.elements`, `grid.vertices`, etc. into properties
Currently, grid.elements
is a function without arguments. However, a property seems more suitable.
For compatibility, I suggest to add __call__
to the iterator, which prints a deprecation warning and returns itself.