A Green's function approach to the analysis of non volatile memory device variability as a function of individual trap position