Fix __testOperatorVersusMatrix in testDiagFunction.
Fix __testOperatorVersusMatrix in testDiagFunction.

This function was moved to the tools.py file and was renamed to
operatorVersusMatrix.

ryanorendorff/pyop