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

This is a fix for issue #145, ndarray mmul on two vectors returns nil.