MoE function

New generic for mixture-of-experts regression with matrix distributions