function g = kernel_g(dt, w)
    % Kernel Function defined in the paper
    g = w * exp(-w .* dt);
    % Debugging to set value which has ripple effect
    g(g>1) = 0;
end
