fixed error in PML update equations