Added a type editor for the Matrix structure