The effect of pressure on the curie temperature and resistivity of some rare-earth metals and heusler alloys