wald_test function

Wald test. Tests restrictions*coefficients = value.