The calculation of stellarator equilibria in vacuum flux surface coordinates