Creation And Application Of Routines For Determining Physical Properties Of Asteroids And Exoplanets From Low Signal-To-Noise Data Sets