Optimizing Star-Convex Functions