Scotland lock Richie Gray is in a positive frame of mind as he prepares to return from injury to take on world champions New Zealand at Murrayfield on Sunday.