refactor struct defs and function declarations into wmw_test.h
wmw uses t-dist instead of norm-dist