Massively refactored wolfram breakdown.