Adding singular linear regression scripts for documentation purposes