Theoretical and experimenal studies on the paramagnetic behaviour of some rare earth and iron group ions in crystals