TRACKING ALGORITHM FOR STAR SENSORS USING CMOS DEVICES