Updated functions
Update Weight2CDF when NA is large