Compute Whitney Stratifications