Added javadoc to updateState and checkTouch methods -adam