Matheson is the latest of a number of nationalist MSPs to announce they will leave Holyrood next year.