Updated cilk code for new classifier