A localized Fourier collocation method for 2D and 3D elliptic partial differential equations: Theory and MATLAB code. Issue 4 (13th December 2022)