md2sens function

Compute Sensitivity and Specificty based on MD.