Impact of Distribution Fairness Degree and Entanglement Degree on Cooperation