fixed extrapolation of ghostlayers for regular grids
fixed extrapolation for adaptive grid
fixed extrapolation for adaptive grid