P and S tomography using normal-mode and surface waves data with a neighbourhood algorithm