Rewrote the first half of Valentini-Madan section (the easy half)