A simple tool for efficiently processing the individual elements of vector-valued data using the python iterator protocol