Precomputed kernel matrix