introduction of matrix.DoubleMatrixDataset

Moved DoubleMatrixDataset2 to legacy. Before definitive removal.