First Principle Analysis of Lead-free Variant Perovskites Iodides for Optical and Thermoelectric Applications