Added function to write a Surfer ascii grid

I also changed the io_surfer.py cookbook