Changed apply_rotors to take into account ring_setting and rotor_pos