ML_Codes Simulation Codes %%% This Version: April 2019. @copyright Shihao Gu, Bryan Kelly and Dacheng Xiu