A notation question I can already ask though: what is M(q)|H(M,q) ?
See my comment that attempted to figure this out.
See my comment that attempted to figure this out.