Migrate to mat64 in poly_kernel.