To learn more about numpy.stack(), visit the following website:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.stack.html