Magnetic Bases & Surface Gauges