Investigation of the structural, electronic, and magnetic properties of Ni-based Heusler alloys from first principles