Computing Measures for Tree-Basedness of Phylogenetic Networks