I found if you use 10mm as (D1) it works correctly I would about bet,
not being a computer programmer but messing around with it on the side,
that the code they use to handle the ability to use the "mm" is the culprit
Maybe they want the user to use mm in place of .03937.Surely not I wouldnt...