linear regression

Signed-off-by: Andre Dublin <81dublin@gmail.com>