A dynamical model of consensus reaching in group decision making