A new technique for the determination of the charge centroid in MNOS structures