sparse_auc_weight_linear function

Calculate the weight for sparse AUC calculation with the linear-trapezoidal rule