Gray was educated at Inverness Royal Academy[REF] and privately at George Watson's College, Edinburgh before studying physics at the University of Edinburgh and training as a maths and physics teacher at Moray House College of Education [REF].
Gray has been married twice [REF].