Use period denom for proportions. Fixes #9.