Change 'trajectory' to '2-norm' in gradient output

@antgonza, can you review?