Recodifying high-order semi-lagrangian implementation from 3D version by Eberson.