Made x-PML only case transpose to y-PML and automatically while preserving output in x direction