Estimating the geotechnical properties of heterogeneous rock masses such as flysch