Quantum Mechanical Methods for Predicting Nonlinear Optical Properties