Formatting.
Added NES curve.
Set the NES curve as the default.
Javadoc.
Added a bunch of unit tests.