1. Support scalar tensor for Sum operation; 2. Bounds check; 3. GetSumDimIndex function bug fixed; 4. New unit test for Sum function; 2. Minor bugs fixed.