Remove matrix dimensions from matrix parameter names