BUG: partial fix to bug 1042, lets sparse.multiply work with vector array (e.g. array.shape = (6,)).