So in my code I implemented Wiener / Tikhonov Regularization (See paramLambda
in my code).
The full code is available on my StackExchange Signal Processing Q51460 GitHub RepositoryStackExchange Signal Processing Q51460 GitHub Repository (Look at the SignalProcessing\Q51460
folder).