Use DoubleMatrix1D for vector; fix matrix-vector mulitplication