fixed matrices ToString methods