the william gilbert invention