Ghost cell fix

This adds ghost cell calculating and mesh grid  for edges and centers.

The functionality was broken somewhere along the last release.