Check that grids are regular

Only regular grids are supported, but it is not checked that spatial dimensions have constant intervals.

Edited by Martin Lange