The influence of friction on elasto-plastic material in nanoindentation