Added Axis modes and position reset

also auto reset pin that goes out of error and drives home to zero