Modeling Prejudice and Its Effect on Societal Prosperity