Richie Gray has been passed fit for Scotland's first Autumn Test against New Zealand at Murrayfield on Sunday.