Determining the weakly interacting massive particles mass using direct detection experiments