Text this: Thermal Buckling of Functionally Graded Biocompatible Foam Beams