renamed vsum, vmax, vmin to sum, max, min (passed tests)