Statistics for Molecular dynamics simulations of metallic friction and of its dependence on electric currents: development and first results