fillip and initp in PArray

I also changed the function order to match pmatrix