Fixed floating point errors; WIP for multiple summing