Added type hints to optimize data imports. Gained about 40% speed
Added a function for extracting the rythmic steps distribution and many utilities for manipulating distributions.