minimizes sum square instead of mean square