Fixed the calculation of min in Summation
Clean up with a local variable
Merge branch 'master' of github.com:urbanairship/tessera