stable implementation of: Lax-Wendroff method