Study of structural electronic and magnetic properties on Mn and Ni based Heusler alloys using density functional theory