tr (translate) function moved to base_classes, keep a call in surveying_calculation
using base_classes.tr function