Added macro template for simple linear regression