Active electromechanical compliance for wrist