Allow separate grid subdivisions for X and Y axis.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>