Merge pull request #146 from mars0i/develop

Bugfix for ndarray (mmul 1D-vector 1D-vector) plus test for this case.