An Efficient Algorithm for Topological Characterisation of Worm-Like and Branched Micelle Structures from Simulations.