Some bugs fixed - something still wrong in summation
Something very fundamental is still wrong in the summation calculation