Updated notes with linear example