Code after introducing gridmask to flux-kernel. Seems to be working, though correct timestepping has not been throughly tested
Something wrong, code running very slow, try to find bug