Electrical resistivity of heusler alloys