First-principles study of NiAl microalloyed with Sc, Y, La and Nd