Mulgen

as per #54 

You don't need to assert to get the mat field; w is a Dense.