fix to NaN 0/0
Merge branch 'bmicalc'