Prediction of Structure and Phase Transformations