moving summing functions nearer to top of file
adding sse_utils_free in case you miss the memo