Relatonal Matrix in Miner.cs

Now Relational Matrix instead of lists of tuples, - better memory allocation