removing unused legacy functions and getting ready to implement the biased-contour method for PA generation.