print number of iterations and comment out plotting
add module to test just one array
set end to end of array to have the same implementation as the old filter
write data to log file for easy viewing, still need to add timestamps