Added matrix tool for the further studying