Active control of machine tool chatter