A computational geometric approach for an ensemble-based topological entropy calculation in two and three dimensions - Meru Sandbox