Multichannel Effective-Range Theory from the N D Formalism