Documentation and style updates.

Changed epsilon to error_epsilon which is a more obvious meaning.
Added braces around the body of an if statement for good style/safety.