added torso detection and unknown probability.