Refactoring - remove Tiler class and move its logic into Matrix