Common R scripts, updated optimality of features/SDRs