Update Motor.h

Added virtual destructor