Explicitly allocate space for kernels
create an PickAnOptionFunction that uses an array of random numbers, instead of rand()