updated lecture notes, minor changes.