added 3D capabilities to sharpclaw, and ammended the ghost cell calculation for 3D