Replaced `numpy.zeros` with `numpy.empty`, for the slight speed improvement.