updated all latex docs, app2 done