In reference to #25 ndims() just returns how many dimensions are present in the array, while the code expects to actually get those dimensions, which means it didn't work until I replaced ndims() with size(). Also updated the README to reflect actual use of a 2D matrix.
In reference to #25 ndims() just returns how many dimensions are present in the array, while the code expects to actually get those dimensions, which means it didn't work until I replaced ndims() with size(). Also updated the README to reflect actual use of a 2D matrix.