updated surf and copied plot.py from bayessb