A surfer who went missing off the coast of Scotland was found 13 miles from land. He spent more than 30 hours in the water.