Sum and average return float/int as needed
- Breaking change: sum function will return integer by default, float if there are float type elements
- Breaking change: average function will not force return float and will return integer if the sum/count result is integer