Behavioral Macroeconomics Via Sparse Dynamic Programming [Working Paper]