Automated transformation of slope and surface curvatures to avoid long tails in frequency distributions