Make Julia sequential code 40 times faster by putting the code in a function and calling it.