Modified to take information from several thetas in mid-vector, and to do the basic random kernel samplers