Added decoded weight matrix test

All tests mass with make test on this branch.