Extension of a vortex-lattice method to include the effects of leading-edge separation