Minor improvements in SymmetricMatrixPredicate

Replaces cumbersome offset computations in `SymmetricMatrixPredicate.test(int,int,double)`.