A Novel Sector-Based Algorithm for an Optimized Star-Galaxy Classification