Update Arm.cpp and Arm.h

Made Automatic mode work