return the phi matrix