Updated constructor for Phynode