ATOMIC AND ELECTRONIC STRUCTURE OF QUASICRYSTALS