Correct moment equations & commented out step res

Checked if the moment calculations are correct using the example given
in class. It is correct.