sumabs & sumsq along dim tested