Hi there - Firstly, the fact that you created an algorithm that your company uses for a fun is a pretty strong profile highlight! And of course your GMAT score is great. However, as you know, the average GPA for Wharton / Booth is quite a bit higher. In my experience, GPA is one of the easier items to mitigate, especially if you are working in a role where you can point to your strong ability to learn / excel in quant, etc. However, I'd also strongly recommend that you look into online courses in order to further demonstrate to the adcom that you are serious about proving your ability to succeed in the classroom (eg. get an A+). Please look at actual university courses versus Coursera or something (given that you aren't just mitigating a low grade or two in a quant class). There are a lot out there, and many have fairly flexible schedules.
As for the DUI, believe it or not, you're not the first person to ask. Last year, I worked with a client who actually had a more serious offense / allegation against him. Yes, you must self report but my suggestion is to be honest about who you were then and how you've grown. It needs to be clear that you've taken steps to grow in maturity and become more responsible. The adcom can see through "making excuses", so I've found that honesty tends to be the best policy and will demonstrate self-reflection and maturity. The client I was speaking of before got into Columbia (his top choice) btw.
With these two red flags, you can mitigate in a number of ways, some of which I described above. And the rest of your application needs to be flawless - very tight story around your experience / leadership etc, goals, and why you need an MBA. Be sure that it demonstrates your strategic versus just quantitative side; and again the entrepreneurial side that I think you can probably express will help given your algorithm. Remember that an MBA is for business leaders, not solely number crunchers, so focus on how you impacted the overall business beyond just the model.
However, given that you do have a few things to mitigate (and it's hard to know how much credit they'll give you), I would hedge your application strategy. Wharton and Booth will be serious stretches for you (being honest). I always recommend a reach or two, a few in your "wheelhouse" and then more of a back-up type of school (doesn't have to be super low ranked, but outside of the top ten). This is a longer discussion, but that's my high level reaction.
Hope this helps - best of luck!