Dk/habit percentage

Fixes #66