Calculation of nuclide distributions in deep inelastic scattering and the production of neutron rich nuclei