Added support for auto adjustment when doing a line write
Updated motor move functions to support PID regulator for position control