Readability reformat
Using the curves from the original Java version. see #11