N-DIM support added
Merge pull request #2 from iambernie/Ndimsupport

N-DIM support added