Title: Cubic response theory and the electromagnetic properties of ground and excited states