secondOrderTest function

Second-order test of convergence