schmid function

Apply the Schmid Leiman transformation to a correlation matrix