Development and Testing of a Fully Autonomous Star Tracker