https://medium.com/@lpryszcz/python-code-profiling-and-accelerating-your-calculations-with-numba-50d9e5535b08