Mathematics tools

adding zeros to empty matrix cells in Stack