Fixes #5

A calculation error