Computing the Wave-Kernel Matrix Functions (SIAM journal on scientific computing)