def util(z, par):
    """ Returns utility in CRRA form for a given amount of wealth
    
    Args:
    z (float): Amount of wealth
    par (namespace): parameter values
    """
    return z**(1 + par.theta)/(1 + par.theta)