Dk/habit percentage

Fixes #88