Added a test for transform speed on a 1D array.

Tested 1D array transform using for loops, stl::transform, and
variations of memory access.