added more to 50/50 condition: if one of the 50/50 ports==decport, set the perport equal to the other 50/50 port.  if the vessel has more than one decport, set the perport=NA.