Legislation introduced by Liam McArthur to allow terminally ill Scots to seek help to die is now in its final stages at Holyrood.