implemented MatX in wiener