Fixing advanced mat mult