added .matrix self checks