N-electron multi-configurational spin-coupled wavefunctions for Feshbach resonances