Fix bug with HU correction.
Bump version to 0.5.1.