A Framework For Computing The Stability Of Human Motion