Modular Design Optimization using Machine Learning-based Flexibility Analysis. (June 2020)