Thermodynamics and Magnetism of YCo5 Compound Doped with Fe and Ni: An Ab Initio Study