Implicit solutions to the wave equation based on the method of lines transpose