Matrix product and quasi-twisted codes in one class | Synapse