A Computational Geometric Approach For An Ensemble-Based Topological Entropy Calculation In Two And Three Dimensions