private double attitudeConverter(String attitude)
    {
        double convertedAttitude;
        if (attitude.equals("Supportive"))
            convertedAttitude = 0;
        else if (attitude.equals("Mixed"))
            convertedAttitude = 1.0/3.0;
        else if (attitude.equals("Marginal"))
            convertedAttitude = 2.0/3.0;
        else 
            convertedAttitude = 1.0;
        return convertedAttitude;
    }