Updating: adding some pats_hidynexp_util functions.