Added ability to compute second derivatives with compute_a_over_L.