add cmat calls to matrices in `app` calls.