[UPDATE] do not calculate difference for first streamed value. [EXAMPLES] added example.