Least squares auto-tuning. Issue 5 (4th May 2021)