Wrote simpler box testing routine, vectorized kernel matrix evaluations