toDenseMatrix and asDenseMatrix for DenseVector

fixes #66