Leemis

Creates the part of the function which calculates the m statistic.