Predicting Epistasis Directly from Mathematical Models