Merge pull request #124 from chetan51/issue-91

SP: Assert that number of input dimensions equals number of column dimensions
Merge branch 'master' into issue-121