minor tweaks to lecture 2, added lecture 3 basis