version 0.5.4

Fixes #21, fixes #15. Huge performance improvements and bug fixes. See
the full changelog for more information.