Miscellaneous improvements:

* Cleaning up some numerical constants.
* Removed code duplication for QUAD/HEX metric output.
* Fixed bug in HEX metric output.
* Use Point instead of array where possible.
* Update docs.