Support non-square elements in regular quad mesh generation

as titled
Ah, I see this does something else as the other ```getDimension()``` method. Sorry about my other comment.
Do you think it generally makes sense to have such a method?
For your specific purposes you could simply check the number of elements as you have only one available element-type per dimension (1=line, 2=quad, 3=hex), so you could easily solve this directly in your code.