calc_cindex function

Calculate C-index for survival data