explaining regression through matrix multiplication