Fixing more mistakes.
Fixing equations
Fixed missing references