minor output update to squared error