calculate and set position of TUIO on the table