Updating dot, optimization of set/get X,Y and getTranslation. see #119