add optimal_neighbor_method and test file

add optimal_neighbor_method for prior_SRG  and test file