Authorship: This code was written by Uwe Hollerbach and implements a version of PNP using funnels to represent the baths that was first written by Wolfgang Nonner and Duan Chen.