Generating Tact and Flow for Effective Teaching and Learning