Removes DimentionalityError (rep with ValueError)
Merge pull request #303 from jabooth/rmdimerror

Remove DimensionalityError