Updated the README file.
Updating the source code formatting to keep consistency.

Previous changes aren't reflected - in this case, what's happened is
that we're checking to make sure things don't crash if the number of
elements in the viewport differs from the total number of elements.