Added missing dim argument in scatterDim function.
The ability to only specify top layer applies DX and DY as well. Fixed
resize() usage.
Merge pull request #188 from joakim-hove/EclipseGrid-fixes

Eclipse grid fixes