Using a sparse matrix.
Fix duplicates in the reaction row.
Correctly handle duplication and replacement of entries in matrix.
Updating MnxRef compound parsing.