The reaction matrix and effective shell-model interactions for the Ni isotopes