Hello, first thank you for this module!
For the calculation of Hjorth mobility and complexity, I got NaN returned.
It was because I was working with big numbers, TP has became negative and as a sqrt function is applied later on, the calculation was impossible.
I have solved the problem by adding "dtype = object" when declaring numpy array so I have enough space to store those numbers.
I hope it will help some poeple running this code!