Goldman Sachs paying $22M to settle charges