add comatrix example