adding noise methods to stream, bug fixes for CPS model