Selected configuration interaction method using sampled first-order corrections to wave functions.