An Algorithm For Determining Satellite Attitude By Comparing Physical Feature Models To Edges Detected In Satellite Or Ground-Based Telescope Imagery