error in the indexing, but PML vectors should be correct now