An Application of the AIGM Algorithm to Hand-Posture Recognition in Manipulation