added test cases from Agrawal's Nonlinear optics