Axis 3 function, limit to axis 1 added

Simple calculation of a4_x and a4_y.  I added an upper and lower limit
to axis 1 for good measure.
Possible additions/fixes:  Paint doesn't paint until clicked twice, hold
down axis buttons to move more than once