The feasibility of laser cooling: an investigation of ab initio of MgBr, MgI and MgAt molecular.