waldtest function

Performs a matrix-wise Wald test for two eim objects