Improves equivalent matrix hashcode to take into account the pairs of row sum and abs row sum, rather than treating them separately.
Adds lots of logging calls to help track down problem where a matrix was 'found' in the map, when it wasn't equal to the found matrx.
Some refinements and small fixes. Also adds some odd test cases which were brought up in use