Modeling Liquid-Liquid Phase Transitions And Quasicrystal Formation