Debugging changes

Made vector a friend of indirect_vector, to allow debug level 2+
Added debug output in stream simulator to indicate start/end of sample