Hierarchical Optimal Matching and Machine Learning Toolbox