Network and guest dependent thermal stability and thermal expansion in a trigonal host