Fixed referencing.
Math in fifth chapter almost done.