fperez/brainx — pull request #5 by dabliss (2013-06-05 18:17:18+00:00)
Title: Clean up some functions in util and metrics

Add documentation to some functions in util and metrics.

Refactor some code.

Write a few new functions and some tests.