MATLAB code for the ST filter - Kobayashi, Teruyoshi (2018)