Investigating and Improving Student Understanding of Key Ideas in Quantum Mechanics throughout Instruction