Refactors unnecessary loop repetition
Changes tiling to correct diamond tiling iteration