Statistics for Contour planting and terracing of orchards