I’ll have a look at those links. Thanks again for your help.
I can beta test a tutorial if you write one 
In the meantime, thanks to @tom and you, I was able to implement a linear regression example 43 which works and is the equivalent of the python version in the book.
I’ll keep on porting other examples, so I will bother you again 
Cheers