2d Plane Wave Matlab