added a compare method to Quantity, QVector and QMatrix, to get precise codes explaining why 2 of these things are not equal