I am new to Numba, so sorry if this is simple problem. I tried using Numba for a function for the first time, but I get "TypingError: Cannot capture the non-constant value