- changed core function to sum in place in a loop rather than slicing array and calling sum() on the array.
- substantially faster across all browsers
- production version