Some basic GMM methods and associated tools used in my master's thesis