correctly print parameters that are already typed
do not overwrite MatrixType
simplify clearing of parameters