Fix the contributions of A_n fibres.

We were missing the top contribution because of an of-by-one error.
Gofmt.
Golint, cleanups and change all fibres into fibers.