getDistanceCentimeter to public; bugfix