revised feasible_functions.py according to changes in page proofs -KL