added notes from EECS 435 on 1/14/2013