fixing 3d tot formulae
wip on boundary conditions for the "scalars on edges" grid