adding analysis library functions for hubble simulations