Theo 2: Added missing equations at the end. Rest not reviewed yet.