/// <summary>
        /// Converts two dimensional jagged color array to texture2d image
        /// </summary>
        /// <param name="ImgClrArr">Jagged color array to be converted</param>
        /// <returns></returns>
        public static Texture2D ColorArrToTexture2D(Color[][] ImgClrArr)
        {
            int ImageWidth = ImgClrArr.GetLength(0);
            int ImageHeight = ImgClrArr[0].Length;

            Texture2D ResultedTexture = new Texture2D(ImageWidth, ImageHeight);
            for (int XTrav = 0; XTrav < ImageWidth; XTrav++)
            {
                for (int YTav = 0; YTav < ImageHeight; YTav++)
                {
                    ResultedTexture.SetPixel(XTrav, YTav, ImgClrArr[XTrav][YTav]);
                }
            }
            ResultedTexture.Apply();

            return ResultedTexture;
        }