Minor fixes to robot arm and joint classes to compile