Finite-sample Analysis of M-estimators using Self-concordance