Implementation of force distribution analysis for molecular dynamics simulations