De-linted matrix utils.