dynamic mode decomposition tutorial