scaleAb, add input elements to list Ab (initial values are 1010, for no change).
AbScale, keep the last four data from Ab. If the first element is X , the second Y and elements from list Ab a1, b1, a2, b2, after scaling Xnew=X*a1+b1, Ynew=Y*a2+b2 etc.