fix matrix skew, add doc