The calculation of nuclear spin coupling constants from Ab Initio wavefunctions