for my class I need to write more optimized math function using NumPy. Problem is, when using NumPy my solutions are slower when native Python.