multi dimensional linear regression