removed old sumfunct

new sumfunct is now default. Old sumfunct also had an error with
calculation due to last few modifications. Now new one is integrated
into package
implemented loopfunct in ddply

also added time input to new sumfunct