env and density-dependent linkages

begin to add logistic link
with all links as 2 parameter
need still to modify initial trial at envtype==3