sumxlogx & sumxlogy tested