make.posfun function

Create a poset function