big update to use h5py for kernels