def fitness_basic(individual, environment):
    """
    Determines how good each solution is, this is what that is minimized 
    In this case, minimize the displacement in the x direction.

    Parameters
    ----------
    individual : Naturalize Indivdual
        The input indivdual.
    environment : Naturalize Environment
        The input environment.

    Returns
    -------
    disp : float
        The output displacement of the analysis.

    """

    
    # disp, volumes, forces = individual.result
    disp, volumes, _ = individual.result
    
    
    """
    Sometimes OpenSees freaks out and returns a negative displacement.
    We don't want those solutions!"""
    if disp[0] <= 0:
        fitness = 100
    else:
        fitness = disp[0]    
    return fitness