Gradient Episodic Memory with a Soft Constraint for Continual Learning