add pcday_ip command and table and improved efficiency of modal ip computation, including global modal ip in person_course