Minor edits to stats computation