TileMulti possibly working with mat of different sizes
Small changes