A small tool for matrix mathemetics