Automatic facial expressions, gaze direction and head movements generation of a virtual agent