more updates to matrix mode and styles for matrices.
Still need to add functions for matrix conformance