Made kernel building quicker by caching built programs, and made the offset change to final advec_mom kernels