COS method for option pricing under a regime-switching model with time-changed Lévy processes. Issue 4 (3rd April 2018)