Restored summation file and removed the rest of the comments and profiling code from it.