A method for inverse dynamic analysis using accelerometry