Some improvements for determining the hardness of homogeneous materials from the work-of-indentation