generalized the type signature and added more tests for simple cases that gives same results as other implementations of the KoLe entropy estimator