I have been trying to write the Leapfrog program(matrix form or not) for a transmission line for a while, but I have not succeeded (Paul Clayton paper),
Look at the attachment

Could anyone help me with this?
Thank you in advance!