Multiscale Modeling of Polymer and Ceramic Matrix Composites