Sum of squares table formatting