Control Algorithms for Chaotic Systems