Changed Steady state code to allow for arbitrary utility function.