A model for data nanoindentation of Thin Layers