RTRA: Rapid Training of Regularization-based Approaches in Continual Learning