MOD: allow 3 dimensions at most
Merge pull request #70 from slycloud/master

MOD: allow 3 dimensions at most