Magnetic properties and spontaneous distortion in phase-laves intermetallic compounds