fixed small calculation bug in metric moment
improved number formatting