added Numba autojit to vectorize speed comparisons