Quasicrystal Growth Mechanisms And Generalized Defect Detection In Crystals