set_neighbors_with_weights function

Set neighbors and weights values of an observation