change: extracted util functions into seperate files, add: C's sum funciton
add: momentum, weighted, slack, ... fix: estimate.bandwidth, typos, ...