CE: adding a couple compEcon utility functions