Theoretical calculation of N.M.R. spectral line shapes