Cleaned chapter7 (added latex)