Fixes bug 208. Check if the value is a matrix value before removing the extra parens around it.