Inelastic Scattering in NEGF: Matlab Implementation and Exercises