adjusting a tolerance in test_diffmat