Functions relating to Summation of various functions