First principle study of structural, electronic and thermodynamic behavior of ternary intermetallic compound: CeMgTl