Added possibility to output distance error in millimeters.