calculate_IC_weights function

Calculating IC weights based on IC values (AIC, ORIC, GORIC(A), BIC, SIC, ...)