Fixed 2D grid generation

Removed an unnecessary parameter that caused an exception to be thrown.