minor corrections and additions in the analysis chapter