Added gain computation for streams and changed augment buffer to set buffers to be gain * m
removed commented out printouts