Add a control on the number of dimensions

Hi buddy !

Thanks to the string theory, there will soon have 10 dimensions & I have totaly nothing to do today.
So, I had to add a dimension control.

![It had to be done](http://media.giphy.com/media/tYHm9v2gsULGo/original.gif)

See you,
Thomas.